#include<bits/stdc++.h>
using namespace std;
int main(){
    freopen("arena.in","r",stdin);
    freopen("arena.out","w".stdout);
    long long n,m;
    cin>>n>>m;
    cout<<rand()%10;
    fclose(stdin);
    fclose(stdout);
    return 0;
}
